package lj.courseinterect.dao.i;

import lj.courseinterect.entity.Student;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * Created by CatoldCui on 2015/4/20.
 */
public interface StudentDao extends Dao<Student, Long>, UserDetailsService {
    /**
     * 通过学号
     * @param stuNum 学号
     * @return 单个学生
     */
    Student findByStuNum(String stuNum);
}
